package com.ipfsemc.ipfsemc.mapper;

import com.ipfsemc.ipfsemc.model.Order;
import com.ipfsemc.ipfsemc.model.OrderVoOne;
import com.ipfsemc.ipfsemc.model.OrderVoThree;
import com.ipfsemc.ipfsemc.model.OrderVoTwo;

import java.math.BigDecimal;
import java.util.List;

public interface OrderMapper {
    int deleteByPrimaryKey(String orderId);

    int insert(Order record);

    int insertSelective(Order record);

    Order selectByPrimaryKey(String orderId);

    int updateByPrimaryKeySelective(Order record);

    int updatePayPtate(String orderId);

    BigDecimal bigMony(String userId);

    List<Order> listOrder(String userId);

    List<Order> listLevel(String userId);

    OrderVoOne selectDetailsOne(Order order);

    OrderVoTwo selectDetailsTwo(Order order);

    OrderVoThree selectDetailsThree(Order order);

}